package com.zhijian.medical.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author HCG
 * @version 1.0
 * @date 2023-09-14
 */
@Data
@Builder
public class MeetingHstRoomsListDto implements Serializable {

    private static final long serialVersionUID = -2916484610605318955L;

    /**
     * 请求类
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class RequestDto implements Serializable {

        private static final long serialVersionUID = -5598982657119282497L;

        /**
         * 会议室名称
         */
        private String roomName;

        /**
         * 预约开始时间, 时间格式为yyyy-MM-dd HH:mm:ss
         */
        private String hopeStartTime;

        /**
         * 预约结束时间,时间格式为yyyy-MM-dd HH:mm:ss
         */
        private String hopeEndTime;

        /**
         * 部门名称
         */
        private String departmentName;

        /**
         * 0 固定会议; 1 预约会议; 2 周例会议
         */
        private String roomType;
    }

    /**
     * 响应类
     */
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class ResponseDto extends MeetingHstCommonResultDto implements Serializable {

        private static final long serialVersionUID = -6752789702114218502L;

        private List<DataDto> result;

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class DataDto implements Serializable {

            private static final long serialVersionUID = 1206462766977673521L;

            private Integer curUserCount;

            private String hopeEndTime;

            private String hopeStartTime;

            private Integer maxUserCount;

            private Long roomId;

            private String roomName;

            private String roomType;

            private String verifyMode;
        }
    }
}
